export default ({ request }) => ({
  /**
   * 获取周计划数据
   * @returns 
   */
  GET_WEEK_PLAN_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/weekplanmng/list",
      method: "post",
      data: data,
    });
  },
  /**
   * 删除周计划
   * @returns 
   */
  DEL_WEEK_PLAN(id) {
    return request({
      url: "/budwk/smartlc/lc/weekplanmng/delete/" + id,
      method: "delete",
    });
  },
  /**
   * 创建周计划
   * @returns 
   */
  ADD_WEEK_PLAN(data) {
    return request({
      url: "/budwk/smartlc/lc/weekplanmng/create",
      method: "post",
      data: data,
    });
  },
  /**
   * 修改周计划
   * @returns 
   */
  EDIT_WEEK_PLAN(data) {
    return request({
      url: "/budwk/smartlc/lc/weekplanmng/update",
      method: "post",
      data: data,
    });
  }
});
